package com.example.mask.maskmobilesshop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: Member
 * @Description: 会员信息
 * @author: Xlh
 * @date 2017年1月16日 下午3:31:59
 */
@TableName(value = "t_member")
public class Member implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = -7661983303849146687L;

	/** 主键ID **/
	@TableId(type = IdType.AUTO, value = "member_id")
	private Long memberId;

	/** 会员真实姓名 **/
	@TableField(value = "real_name")
	private String realName;

	/** 手机号码 **/
	@TableField(value = "mobile")
	private String mobile;

	/** 昵称 **/
	@TableField(value = "nick_name")
	private String nickName;

	/** 头像地址 **/
	@TableField(value = "image_url")
	private String imageUrl;

	/** 背景图 **/
	@TableField(value = "back_url")
	private String backUrl;

	/** 生日 **/
	@TableField(value = "birthday")
	private Date birthday;

	/** 性别 1男 2女 **/
	@TableField(value = "sex")
	private Integer sex;

	/** 状态 0禁用 1正常 **/
	private Integer state;

	/** 积分ID **/
	@TableField(value = "point_id")
	private Long pointId;

	/** 最后登录时间 **/
	@TableField(value = "last_login_time")
	private Date lastLoginTime;

	/** 创建时间 **/
	@TableField(value = "create_time")
	private Date createTime;

	/** 创建人 **/
	@TableField(value = "create_user")
	private String createUser;

	/** 修改时间 **/
	@TableField(value = "update_time")
	private Date updateTime;

	/** 修改人 **/
	@TableField(value = "update_user")
	private String updateUser;

	@TableField(value = "password")
	private String password;

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Long getPointId() {
		return pointId;
	}

	public void setPointId(Long pointId) {
		this.pointId = pointId;
	}

	public String getBackUrl() {
		return backUrl;
	}

	public void setBackUrl(String backUrl) {
		this.backUrl = backUrl;
	}
}
